{% extends "templates/public/adminbase.html" %}
{% block title %}管理平台{% endblock %}
{% block body %}
    <h1>添加商品</h1>
<form method="POST" action="">
<div class="row">
	<h2  class="span2">商品主题</h2>
    <div class="span10">
    	<textarea name="producttitle" cols="100"  class="span10">
    	</textarea>
    </div>
</div>
<div class="row">
    <h2  class="span2">网站来源</h2>
    <div class="span10">
    	<select value="4" class="span3" tabindex="1" name="productstore" style="display: none;">
            <option value="1">天猫商城</option>
            <option value="2">京东商城</option>
            <option value="3">苏宁易购</option>
            <option value="4" selected="selected">亚马逊</option>
            <option value="5">QQ商城</option>
            <option value="6">淘宝网</option>
            <option value="7">当当网</option>
        </select>
    </div>
</div>
<div class="row">
    <h2  class="span2">商品类型</h2>
    <div class="span10">
    	<select value="1" class="span3" tabindex="1" name="productcategory" style="display: none;">
            <option value="1">数码音像</option>
            <option value="2" selected="selected">个护化妆</option>
            <option value="3">食品保健</option>
            <option value="4">图书音像</option>
            <option value="5">家居生活</option>
            <option value="6">服饰鞋包</option>
            <option value="7">母婴玩具</option>
            <option value="8">钟表首饰</option>
            <option value="9">运动户外</option>
            <option value="10">杂七杂八</option>
        </select>
    </div>
</div>
<div class="row">
    <h2  class="span2">点击地址</h2>
    <div class="span10">
    	<input name="productclickurl" class="span10" style="height: 50px;" />
    </div>
</div>
<div class="row">
    <h2  class="span2">商品图片</h2>
    <div class="span10">
    	<input name="productimage" class="span10" style="height: 50px;" />
    </div>
</div>
<div class="row">
    <h2 class="span12">输入商品介绍</h2>
	<div class="span12">
			
		<textarea name="productcontent" id="editor">这里写你的初始化内容</textarea>	
	</div>
</div>
<div class="row" style="margin-top: 20px;">
	<div class="span2">
		<input type="submit" href="#" class="btn btn-large btn-block btn-success" value="发布商品"/>
	</div>
</div>
</form>
{% endblock %}
{% block script %}
	<script type="text/javascript">
		var editor = new UE.ui.Editor();
    	editor.render("editor");
    	$(function () {
		    // Custom selects
		    $("select").dropkick();
		});
	</script>
{% endblock %}
